//
//  LYSetView.m
//  LY
//
//  Created by lanou3g on 15/12/15.
//  Copyright © 2015年 梁媛. All rights reserved.
//

#import "LYSetView.h"

@implementation LYSetView

- (UITableView *)setTableView{
    if (!_setTableView) {
        _setTableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height) style:(UITableViewStyleGrouped)];
        [self addSubview:_setTableView];
    }
    return _setTableView;
}

//- (UIButton *)logOutButton{
//    if (!_logOutButton) {
//        _logOutButton = [UIButton buttonWithType:(UIButtonTypeSystem)];
//        _logOutButton.frame = CGRectMake(100, CGRectGetMaxY(self.setTableView.frame) + 100, self.frame.size.width - 300, 70);
//        [_logOutButton setTitle:@"退出账号" forState:UIControlStateNormal];
//        [self.setTableView addSubview:_logOutButton];
//    }
//    return _logOutButton;
//}
//
//- (UIButton *)quitButton{
//    if (!_quitButton) {
//        _quitButton = [UIButton buttonWithType:UIButtonTypeSystem];
//        _quitButton.frame = CGRectMake(CGRectGetMinX(self.logOutButton.frame), CGRectGetMaxY(self.logOutButton.frame) + 15, CGRectGetWidth(self.logOutButton.frame), CGRectGetHeight(self.logOutButton.frame));
//        [self.setTableView addSubview:_quitButton];
//    }
//    return _quitButton;
//}

@end
